package com.pinda.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pinda.oms.entity.PdOrderCargo;
import com.pinda.oms.vo.PdOrderCargoSerach;
import com.pinda.oms.vo.PdOrderCargoView;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lc
 * @since 2023-06-25
 */
public interface PdOrderCargoMapper extends BaseMapper<PdOrderCargo> {

    /**
     * 订单详情页的查询sql 货品信息
     * pd_order_cargo 货物表
     * 根据订单和运单编号查询得到获取该订单对应到的货物信息表
     * @param serach
     * @return
     */
    List<PdOrderCargoView> selectOrderCargoaByorderid(PdOrderCargoSerach serach);

}
